package com.ruoyi.cinema.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 排期分区优惠信息对象 schedule_promo_area
 *
 * @author HHAOYU
 * @date 2020-12-13
 */
@TableName("schedule_promo_area")
public class SchedulePromoArea extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;
    /** 区域ID */
    @Excel(name = "区域ID")
    private String areaId;
    /** 排期优惠 */
    @Excel(name = "排期优惠")
    private Long schedulePromoId;
    /** 电影票原价 */
    @Excel(name = "电影票原价")
    private String originalTicketPrice;
    /** 电影票服务费原价 */
    @Excel(name = "电影票服务费原价")
    private String originalServiceFee;
    /** 电影票⼿续费原价 */
    @Excel(name = "电影票⼿续费原价")
    private String originalTicketFee;
    /** 优惠后价格（需要⽀付价格） */
    @Excel(name = "优惠后价格", readConverterExp = "需=要⽀付价格")
    private String promoPrice;
    /** 占⽤预算⾦额 */
    @Excel(name = "占⽤预算⾦额")
    private String takeUpBudgetAmount;

    @TableField(exist=false)
    private String promoTag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setAreaId(String areaId)
    {
        this.areaId = areaId;
    }

    public String getAreaId()
    {
        return areaId;
    }
    public void setSchedulePromoId(Long schedulePromoId)
    {
        this.schedulePromoId = schedulePromoId;
    }

    public Long getSchedulePromoId()
    {
        return schedulePromoId;
    }
    public void setOriginalTicketPrice(String originalTicketPrice)
    {
        this.originalTicketPrice = originalTicketPrice;
    }

    public String getOriginalTicketPrice()
    {
        return originalTicketPrice;
    }
    public void setOriginalServiceFee(String originalServiceFee)
    {
        this.originalServiceFee = originalServiceFee;
    }

    public String getOriginalServiceFee()
    {
        return originalServiceFee;
    }
    public void setOriginalTicketFee(String originalTicketFee)
    {
        this.originalTicketFee = originalTicketFee;
    }

    public String getOriginalTicketFee()
    {
        return originalTicketFee;
    }
    public void setPromoPrice(String promoPrice)
    {
        this.promoPrice = promoPrice;
    }

    public String getPromoPrice()
    {
        return promoPrice;
    }
    public void setTakeUpBudgetAmount(String takeUpBudgetAmount)
    {
        this.takeUpBudgetAmount = takeUpBudgetAmount;
    }

    public String getTakeUpBudgetAmount()
    {
        return takeUpBudgetAmount;
    }

    public String getPromoTag() {
        return promoTag;
    }

    public void setPromoTag(String promoTag) {
        this.promoTag = promoTag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("areaId", getAreaId())
            .append("schedulePromoId", getSchedulePromoId())
            .append("originalTicketPrice", getOriginalTicketPrice())
            .append("originalServiceFee", getOriginalServiceFee())
            .append("originalTicketFee", getOriginalTicketFee())
            .append("promoPrice", getPromoPrice())
            .append("takeUpBudgetAmount", getTakeUpBudgetAmount())
            .toString();
    }
}
